<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/">
		<msc type="form">
			<head>
				<title>OA办公</title>
			</head>
			<body background="oa/background.png">
				<!--顶部-->
				<span dock="top">
					<img src="oa/top.png"/>
				</span>
				<span dock="top" width="100%"/>
				<span width="100%">
				<strong>
				    <font size="xl" color="#727272">信息</font>
				</strong>
				</span>
				<img id="img1" src="line.png" height="7"/>
				<span width="100%" height="5"/>
				<span width="100%">
					<font color="#727272"><xsl:value-of select="//table[@width='778'][5]/tbody/tr/td[2]/."/></font>
				</span>
				<span width="100%" height="5"/>
				<listbox>
					<xsl:apply-templates select="//table[@bordercolor='#BDD9F1']/tbody/tr"/>
				</listbox>
			</body>
			<foot>
				<xsl:apply-templates select="//table[@width='778'][7]/tbody/tr/td/a"/>
			</foot>
		</msc>
	</xsl:template>
	<xsl:template match="tr">
		<xsl:choose>
			<xsl:when test="position() = 1"/>
			<xsl:otherwise>
				<listitem icon="oa/star.png" href="http://www.56868.com/{td/a/@href}" target="_blank">
					<caption>信息：<xsl:value-of select="td[1]/."/></caption>
					<sndcaption>发布时间：<xsl:value-of select="td[5]/."/></sndcaption>
				</listitem>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template match="a">
		<xsl:if test="text()='上一页'">
			<item caption="上一页" href="http://www.56868.com/{@href}" type="button" target="_blank"/>
		</xsl:if>
		<xsl:if test="text()='下一页'">
			<item caption="下一页" href="http://www.56868.com/{@href}" type="button" target="_blank"/>
		</xsl:if>
	</xsl:template>
</xsl:stylesheet>
